{include file=header.html}
<script language="javascript" type="text/javascript" src="{res file=js/jquery-1.2.6.js}"></script>
<body>
<div class="sub-body">
<div class="tab-frame">
<div class="tab-title-1"><span>{$lang.type_manage}</span></div>
<table cellspacing="0" cellpadding="0" class="tab-display" id="tab-color1">
	<tr>
		<td colspan="4" align="right" style="padding-right:35px;"><a href="{url index.php?app=factory&act=add_type}" class="add btn-2">{$lang.add_new_type}</a></td>
	</tr>
      <tr>
        <th width="60%">{$lang.type_name}</th>
		<th width="20%">{$lang.if_show}</th>
		<th width="20%">{$lang.handle}</th>
      </tr>
	  <!--{foreach from=$types item=type}-->
       <tr>
        <td>{$type.type_name|escape}</td>
        <td><!--{if $type.if_show}-->{$lang.yes}<!--{else}-->{$lang.no}<!--{/if}--></td>
		<td><a href="{url index.php?app=factory&act=edit_type&type_id=$type.type_id}">{$lang.edit}</a></td>
      </tr>
	  <!--{/foreach}-->
    </table>
<script language="javascript" type="text/javascript" src="{res file=js/tab_color.js}"></script>
</div></div>
</body>
</html>